import { connect } from 'react-redux'
import Header from '../components/Header/Header'
import { addAsync } from '../redux/actions'
export default connect(null, { tj: addAsync })(Header)

// function mapDispatchToProps(dispatch) {
//   return {
//     tj: function (todoName) {
//       dispatch(addAsync(todoName))
//     },
//   }
// }
